-- GENERATED SPELL FOR [Aqueous Spirit] --


function spell0_28862(pUnit, Event) --@Typhoon,n/a--
pUnit:FullCastSpellOnTarget(55087,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_28862', 539, 1)
end

function Sorts_28862(pUnit, Event)
local choix_sorts_28862 = math.random(0, 0)
if choix_sorts_28862 == 0 then
pUnit:RegisterEvent('spell0_28862', 1, 1)
end
end

function mob28862_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_28862', math.random(1500, 3000), 1)
end

function mob28862_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28862_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28862_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(28862, 1, 'mob28862_Action')
RegisterUnitEvent(28862, 2, 'mob28862_Leave')
RegisterUnitEvent(28862, 3, 'mob28862_Kill')
RegisterUnitEvent(28862, 4, 'mob28862_Die')
